﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.plaf.basic.cursor {
    import flash.display.*;
    import org.aswing.*;
    import org.aswing.graphics.*;

    public class V_ResizeCursor extends Shape {

        private var resizeArrowColor:ASColor;
        private var resizeArrowLightColor:ASColor;
        private var resizeArrowDarkColor:ASColor;

        public function V_ResizeCursor(){
            var _local3:Array;
            super();
            this.resizeArrowColor = UIManager.getColor("Frame.resizeArrow");
            this.resizeArrowLightColor = UIManager.getColor("Frame.resizeArrowLight");
            this.resizeArrowDarkColor = UIManager.getColor("Frame.resizeArrowDark");
            var _local1:Number = 1;
            var _local2:Number = 4;
            _local3 = [{
                y:(-(_local2) * 2),
                x:0
            }, {
                y:-(_local2),
                x:-(_local2)
            }, {
                y:-(_local2),
                x:-(_local1)
            }, {
                y:_local2,
                x:-(_local1)
            }, {
                y:_local2,
                x:-(_local2)
            }, {
                y:(_local2 * 2),
                x:0
            }, {
                y:_local2,
                x:_local2
            }, {
                y:_local2,
                x:_local1
            }, {
                y:-(_local2),
                x:_local1
            }, {
                y:-(_local2),
                x:_local2
            }];
            var _local4:Graphics2D = new Graphics2D(graphics);
            _local4.drawPolygon(new Pen(this.resizeArrowColor.changeAlpha(0.4), 4), _local3);
            _local4.fillPolygon(new SolidBrush(this.resizeArrowLightColor), _local3);
            _local4.drawPolygon(new Pen(this.resizeArrowDarkColor, 1), _local3);
        }
    }
}//package org.aswing.plaf.basic.cursor 
